package com.mini.mysql.model;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldNameConstants;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

@Data
@FieldNameConstants
@NoArgsConstructor
@AllArgsConstructor
@Entity
@DynamicInsert
@DynamicUpdate
public class BusinessBaseSubInfo implements Serializable {

    @Id
    private Long miniLessonId;

    private String lessonName;

    private String lessonId;

    private Integer siteItem;

    private String itemName;

    private String xingtuSite;

    private String skuName;

    private String groupNames;
    private String unPaySiteId;
    private String paySiteId;

    private String businessType;

    private String miniLessonName;
}